package org.darkforest.common.services.impl;

import org.darkforest.common.services.ReturnReasonService;
import org.darkforest.dao.mapper.RefundReasonMapper;
import org.darkforest.model.RefundReason;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2015/8/31.
 */
@Service
public class ReturnReasonServiceImpl implements ReturnReasonService {

    @Autowired
    private RefundReasonMapper refundReasonMapper;

    /**
     * 查询退款 退货原因列表
     *
     * @return
     */
    @Override
    public List<RefundReason> findRefundReasonList() {
        return refundReasonMapper.findRefundReasonList();
    }
}
